from microbit import *

while True:
    n = button_a.get_presses()
    display.show(str(n))
    sleep(1000)
    display.show(Image.SQUARE)
    sleep(3000)
